Skip to content

refactor time handling#52

Open
klali wants to merge 1 commit intomasterfrom
time_dst_corrections
Open

refactor time handling#52
klali wants to merge 1 commit intomasterfrom
time_dst_corrections

Conversation

@klali
Copy link
Copy Markdown
Owner

@klali klali commented Aug 24, 2021

No description provided.

@klali
Copy link
Copy Markdown
Owner Author

klali commented Aug 24, 2021

ping @bnordli maybe this handles the time without needing to configure offset?

@bnordli
Copy link
Copy Markdown
Contributor

bnordli commented Aug 25, 2021

It only works if n = n - n.dst() is replaced with n = n + n.dst(). It is really peculiar, because my Plejd app currently sets the system time to UTC+3, while my current time zone is UTC+2 (and Norway's standard time is UTC+1).

@klali
Copy link
Copy Markdown
Owner Author

klali commented Aug 25, 2021

Very interesting.. mine is the opposite. Then I need to understand this better.. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants